﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace LuDC.CKEditor.Services
{
	public class CKEditorConfigBoolean : ICKEditorConfigPair
	{
		public CKEditorConfigBoolean(string key, bool value)
		{
			Key = key;
			_value = value;
		}

		public string Key
		{
			get;
			set;
		}

		protected bool _value;

		public IHtmlString Value
		{
			get
			{
				return new HtmlString(_value ? "true" : "false");
			}
		}
	}
}